<template>
	<view class="banner">
		<view class="content">
			<view class="title">
				{{ title}}
			</view>
			<view class="name">
				{{ name }}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: ''
			},
			name: {
				type: String,
				default: ''
			}
		}
	}
</script>

<style lang="scss" scoped>
	.banner {
		width: 100%;
		height: 23vw;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		background: url('http://aiweb.pro.aisisoft.com.cn/storage/cover_img/2e/47d048868cad2fb3b1238065850deb.png') no-repeat;
		background-size: 100% 100%;
		.title {
			font-size: 70px;
			font-family: Arial-Bold, Arial;
			font-weight: bold;
			color: #FFFFFF;
			margin-bottom: 20px;
		}

		.name {
			font-size: 40px;
			font-family: MicrosoftYaHei-, MicrosoftYaHei;
			font-weight: normal;
			color: #FFFFFF;
		}
	}
</style>